dart string to bytes

89

String foo = 'Hello world';
List<int> bytes = foo.codeUnits;
print(bytes);

Comments

Submit
0 Comments